<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
    <title>LuaApp项目接口文档</title>
    <link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>

<div id="container">

<div id="product">
	<div id="product_logo"></div>
	<div id="product_name"><big><b></b></big></div>
	<div id="product_description"></div>
</div> <!-- id="product" -->


<div id="main">


<!-- Menu -->

<div id="navigation">
<br/>
<h1>LuaApp</h1>

<ul>
  <li><a href="../index.html">Index</a></li>
</ul>

<h2>Contents</h2>
<ul>
<li><a href="#Methods">Methods</a></li>
</ul>


<h2>Classes</h2>
<ul class="nowrap">
  <li><a href="../classes/ActivityIndicatorView.html">ActivityIndicatorView</a></li>
  <li><a href="../classes/AlertView.html">AlertView</a></li>
  <li><a href="../classes/Application.html">Application</a></li>
  <li><a href="../classes/AudioEngine.html">AudioEngine</a></li>
  <li><a href="../classes/Button.html">Button</a></li>
  <li><a href="../classes/CaptureView.html">CaptureView</a></li>
  <li><a href="../classes/CheckBox.html">CheckBox</a></li>
  <li><a href="../classes/ClippingView.html">ClippingView</a></li>
  <li><a href="../classes/Control.html">Control</a></li>
  <li><a href="../classes/DatePickerView.html">DatePickerView</a></li>
  <li><a href="../classes/Device.html">Device</a></li>
  <li><a href="../classes/DownloadManager.html">DownloadManager</a></li>
  <li><a href="../classes/DrawView.html">DrawView</a></li>
  <li><strong>DrawerController</strong></li>
  <li><a href="../classes/FileUtils.html">FileUtils</a></li>
  <li><a href="../classes/GifView.html">GifView</a></li>
  <li><a href="../classes/HttpClient.html">HttpClient</a></li>
  <li><a href="../classes/HttpRequest.html">HttpRequest</a></li>
  <li><a href="../classes/Image.html">Image</a></li>
  <li><a href="../classes/ImageView.html">ImageView</a></li>
  <li><a href="../classes/Label.html">Label</a></li>
  <li><a href="../classes/LinearView.html">LinearView</a></li>
  <li><a href="../classes/ListView.html">ListView</a></li>
  <li><a href="../classes/ListViewCell.html">ListViewCell</a></li>
  <li><a href="../classes/NavController.html">NavController</a></li>
  <li><a href="../classes/Progress.html">Progress</a></li>
  <li><a href="../classes/Slider.html">Slider</a></li>
  <li><a href="../classes/Stepper.html">Stepper</a></li>
  <li><a href="../classes/Switch.html">Switch</a></li>
  <li><a href="../classes/TabBarController.html">TabBarController</a></li>
  <li><a href="../classes/TextField.html">TextField</a></li>
  <li><a href="../classes/TextView.html">TextView</a></li>
  <li><a href="../classes/UILoader.html">UILoader</a></li>
  <li><a href="../classes/View.html">View</a></li>
  <li><a href="../classes/ViewController.html">ViewController</a></li>
  <li><a href="../classes/WebView.html">WebView</a></li>
  <li><a href="../classes/Window.html">Window</a></li>
</ul>
<h2>Modules</h2>
<ul class="nowrap">
  <li><a href="../modules/Animation.html">Animation</a></li>
  <li><a href="../modules/class.html">class</a></li>
  <li><a href="../modules/constants.html">constants</a></li>
  <li><a href="../modules/crossapp.html">crossapp</a></li>
  <li><a href="../modules/cjson.html">cjson</a></li>
  <li><a href="../modules/mobdebug.html">mobdebug</a></li>
</ul>
<h2>Topics</h2>
<ul class="">
  <li><a href="../topics/readme.md.html">readme</a></li>
  <li><a href="../topics/layout.md.html">layout</a></li>
</ul>

</div>

<div id="content">

<h1>Class <code>DrawerController</code></h1>
<p>抽屉控制器，提供左滑菜单功能，继承自ViewController</p>
<p>

</p>
    <h3>See also:</h3>
    <ul>
         <a href="../classes/ViewController.html#">ViewController</a>
    </ul>


<h2><a href="#Methods">Methods</a></h2>
<table class="function_list">
	<tr>
	<td class="name" nowrap><a href="#DrawerController:new">DrawerController:new (menuController, mainController)</a></td>
	<td class="summary">创建</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:replaceRightViewController">DrawerController:replaceRightViewController (controller)</a></td>
	<td class="summary">替换右侧主控制器</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:getLeftViewController">DrawerController:getLeftViewController ()</a></td>
	<td class="summary">获取左侧菜单控制器</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:getRightViewController">DrawerController:getRightViewController ()</a></td>
	<td class="summary">获取右侧主控制器</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:showLeftViewController">DrawerController:showLeftViewController (animated)</a></td>
	<td class="summary">显示左侧菜单控制器</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:hideLeftViewController">DrawerController:hideLeftViewController (animated)</a></td>
	<td class="summary">隐藏左侧菜单控制器</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:getBackgroundView">DrawerController:getBackgroundView ()</a></td>
	<td class="summary">获取背景视图</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:setBackgroundView">DrawerController:setBackgroundView (view)</a></td>
	<td class="summary">设置背景视图</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:setBackgroundImage">DrawerController:setBackgroundImage (img)</a></td>
	<td class="summary">设置背景图片</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:isTouchMoved">DrawerController:isTouchMoved ()</a></td>
	<td class="summary">是否开启滑动移动效果</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:setTouchMoved">DrawerController:setTouchMoved (moved)</a></td>
	<td class="summary">开启滑动移动效果</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:getEffect3D">DrawerController:getEffect3D ()</a></td>
	<td class="summary">是否开启3d效果</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:setEffect3D">DrawerController:setEffect3D (enable)</a></td>
	<td class="summary">开启3d效果</td>
	</tr>
	<tr>
	<td class="name" nowrap><a href="#DrawerController:isShowLeftViewController">DrawerController:isShowLeftViewController ()</a></td>
	<td class="summary">是否显示左侧菜单视图</td>
	</tr>
</table>

<br/>
<br/>


    <h2 class="section-header "><a name="Methods"></a>Methods</h2>

    <dl class="function">
    <dt>
    <a name = "DrawerController:new"></a>
    <strong>DrawerController:new (menuController, mainController)</strong>
    </dt>
    <dd>
    创建


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">menuController</span>
            <span class="types"><a class="type" href="../classes/ViewController.html#">ViewController</a></span>
         左侧菜单控制器
        </li>
        <li><span class="parameter">mainController</span>
            <span class="types"><a class="type" href="../classes/ViewController.html#">ViewController</a></span>
         主控制器
        </li>
    </ul>

    <h3>Returns:</h3>
    <ol>

        DrawerController
    </ol>




</dd>
    <dt>
    <a name = "DrawerController:replaceRightViewController"></a>
    <strong>DrawerController:replaceRightViewController (controller)</strong>
    </dt>
    <dd>
    替换右侧主控制器


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">controller</span>
            <span class="types"><a class="type" href="../classes/ViewController.html#">ViewController</a></span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "DrawerController:getLeftViewController"></a>
    <strong>DrawerController:getLeftViewController ()</strong>
    </dt>
    <dd>
    获取左侧菜单控制器



    <h3>Returns:</h3>
    <ol>

           <span class="types"><a class="type" href="../classes/ViewController.html#">ViewController</a></span>
        controller
    </ol>




</dd>
    <dt>
    <a name = "DrawerController:getRightViewController"></a>
    <strong>DrawerController:getRightViewController ()</strong>
    </dt>
    <dd>
    获取右侧主控制器



    <h3>Returns:</h3>
    <ol>

           <span class="types"><a class="type" href="../classes/ViewController.html#">ViewController</a></span>
        controller
    </ol>




</dd>
    <dt>
    <a name = "DrawerController:showLeftViewController"></a>
    <strong>DrawerController:showLeftViewController (animated)</strong>
    </dt>
    <dd>
    显示左侧菜单控制器


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">animated</span>
            <span class="types"><span class="type">bool</span></span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "DrawerController:hideLeftViewController"></a>
    <strong>DrawerController:hideLeftViewController (animated)</strong>
    </dt>
    <dd>
    隐藏左侧菜单控制器


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">animated</span>
            <span class="types"><span class="type">bool</span></span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "DrawerController:getBackgroundView"></a>
    <strong>DrawerController:getBackgroundView ()</strong>
    </dt>
    <dd>
    获取背景视图



    <h3>Returns:</h3>
    <ol>

           <span class="types"><a class="type" href="../classes/View.html#">View</a></span>
        view
    </ol>




</dd>
    <dt>
    <a name = "DrawerController:setBackgroundView"></a>
    <strong>DrawerController:setBackgroundView (view)</strong>
    </dt>
    <dd>
    设置背景视图


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">view</span>
            <span class="types"><a class="type" href="../classes/View.html#">View</a></span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "DrawerController:setBackgroundImage"></a>
    <strong>DrawerController:setBackgroundImage (img)</strong>
    </dt>
    <dd>
    设置背景图片


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">img</span>
            <span class="types"><a class="type" href="../classes/Image.html#">Image</a></span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "DrawerController:isTouchMoved"></a>
    <strong>DrawerController:isTouchMoved ()</strong>
    </dt>
    <dd>
    是否开启滑动移动效果



    <h3>Returns:</h3>
    <ol>

           <span class="types"><span class="type">bool</span></span>
        moved
    </ol>




</dd>
    <dt>
    <a name = "DrawerController:setTouchMoved"></a>
    <strong>DrawerController:setTouchMoved (moved)</strong>
    </dt>
    <dd>
    开启滑动移动效果


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">moved</span>
            <span class="types"><span class="type">bool</span></span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "DrawerController:getEffect3D"></a>
    <strong>DrawerController:getEffect3D ()</strong>
    </dt>
    <dd>
    是否开启3d效果



    <h3>Returns:</h3>
    <ol>

           <span class="types"><span class="type">bool</span></span>
        enable
    </ol>




</dd>
    <dt>
    <a name = "DrawerController:setEffect3D"></a>
    <strong>DrawerController:setEffect3D (enable)</strong>
    </dt>
    <dd>
    开启3d效果


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">enable</span>
            <span class="types"><span class="type">bool</span></span>



        </li>
    </ul>





</dd>
    <dt>
    <a name = "DrawerController:isShowLeftViewController"></a>
    <strong>DrawerController:isShowLeftViewController ()</strong>
    </dt>
    <dd>
    是否显示左侧菜单视图



    <h3>Returns:</h3>
    <ol>

           <span class="types"><span class="type">bool</span></span>
        isShow
    </ol>




</dd>
</dl>


</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2017-04-25 21:28:27 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>
